<div ng-init="vm.init();refresh(vm.callback);">
  <script id="opt-toolbar" type="text/ng-template">
    <div>
      <button class="btn btn-default" type="button" ng-click="vm.diff()">
        <i class="fa fa-binoculars"></i> 比较</button>
      <button class="btn btn-default" type="button" ng-click="vm.nextDiff()"
          ng-disabled="!vm.hasDiff"><i class="fa fa-arrow-down"></i> 下一个</button>
      <button class="btn btn-default" type="button" ng-click="vm.prevDiff()"
          ng-disabled="!vm.hasDiff"><i class="fa fa-arrow-up"></i> 上一个</button>
      <button class="btn btn-default" type="button" ng-click="vm.reset()">
        <i class="fa fa-repeat"></i> 重置</button>
    </div>
  </script>
  <div class="row x-view-body">
    <div class="acediff"></div>
  </div>
</div>